.class public Lcom/estrongs/android/view/CompressGridViewWrapper$v;
.super Ljava/lang/Object;
.source "CompressGridViewWrapper.java"

# interfaces
.implements Lcom/estrongs/android/view/FeaturedGridViewWrapper$b;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/view/CompressGridViewWrapper;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x4
    name = "v"
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/CompressGridViewWrapper;


# direct methods
.method protected constructor <init>(Lcom/estrongs/android/view/CompressGridViewWrapper;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()Landroid/view/View;
    .locals 1

    const/4 v0, 0x0

    return-object v0
.end method

.method public a(Landroid/view/View;)Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;
    .locals 1

    .line 2
    new-instance v0, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;

    invoke-direct {v0, p1}, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;-><init>(Landroid/view/View;)V

    return-object v0
.end method

.method public bridge synthetic a(Landroid/view/View;)Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;
    .locals 0

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a(Landroid/view/View;)Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;

    move-result-object p1

    return-object p1
.end method

.method public a(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)V
    .locals 19

    move-object/from16 v1, p0

    move/from16 v2, p2

    .line 3
    iget-object v0, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-virtual {v0, v2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object v0

    move-object v3, v0

    check-cast v3, Lcom/estrongs/fs/g;

    if-nez v3, :cond_0

    return-void

    .line 4
    :cond_0
    iget-object v0, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-boolean v0, v0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    if-eqz v0, :cond_1

    invoke-static {v3}, Lcom/estrongs/android/view/CompressGridViewWrapper;->c(Lcom/estrongs/fs/g;)Z

    move-result v0

    if-eqz v0, :cond_1

    return-void

    .line 5
    :cond_1
    move-object/from16 v4, p1

    check-cast v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;

    .line 6
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->g:Landroid/widget/TextView;

    invoke-interface {v3}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 7
    invoke-interface {v3}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/fs/l;->b()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 8
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->k:Landroid/widget/TextView;

    iget-object v5, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    const v6, 0x7f110213

    invoke-virtual {v5, v6}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 9
    :cond_2
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->k:Landroid/widget/TextView;

    invoke-interface {v3}, Lcom/estrongs/fs/g;->length()J

    move-result-wide v5

    invoke-static {v5, v6}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 10
    :goto_0
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    instance-of v5, v0, Lcom/estrongs/android/pop/esclasses/ESImageView;

    const/4 v6, 0x0

    if-eqz v5, :cond_3

    .line 11
    :try_start_0
    check-cast v0, Lcom/estrongs/android/pop/esclasses/ESImageView;

    .line 12
    invoke-virtual {v0, v6}, Lcom/estrongs/android/pop/esclasses/ESImageView;->setTopCornerImage(Landroid/graphics/drawable/Drawable;)V

    .line 13
    invoke-virtual {v0}, Landroid/widget/ImageView;->invalidate()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    move-exception v0

    .line 14
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    .line 15
    :cond_3
    :goto_1
    iget-object v0, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v0, v0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->y:Ljava/lang/String;

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->M0(Ljava/lang/String;)Z

    move-result v0

    const/16 v5, 0x8

    const/4 v7, 0x0

    if-eqz v0, :cond_4

    .line 16
    :try_start_1
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->l:Landroid/widget/TextView;

    iget-object v8, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v8, v8, Lcom/estrongs/android/view/CompressGridViewWrapper;->i1:Ljava/text/SimpleDateFormat;

    invoke-interface {v3}, Lcom/estrongs/fs/g;->b()J

    move-result-wide v9

    invoke-static {v9, v10}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v9

    invoke-virtual {v8, v9}, Ljava/text/SimpleDateFormat;->format(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    goto :goto_2

    :catch_1
    move-exception v0

    .line 17
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    .line 18
    :goto_2
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->i:Landroid/view/View;

    invoke-virtual {v0, v7}, Landroid/view/View;->setVisibility(I)V

    goto :goto_3

    .line 19
    :cond_4
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->l:Landroid/widget/TextView;

    iget-object v8, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v8, v8, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    const v9, 0x7f11090a

    invoke-virtual {v8, v9}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v0, v8}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 20
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->i:Landroid/view/View;

    invoke-virtual {v0, v5}, Landroid/view/View;->setVisibility(I)V

    .line 21
    :goto_3
    iget-object v0, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    .line 22
    invoke-static {v3}, Les/rj;->e(Lcom/estrongs/fs/g;)I

    move-result v0

    .line 23
    invoke-static {v3}, Les/rj;->k(Lcom/estrongs/fs/g;)Z

    move-result v8

    const/4 v9, 0x1

    if-eqz v8, :cond_5

    .line 24
    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v8

    iget-object v10, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->b:Landroid/widget/ImageView;

    invoke-static {v8, v10, v3, v0, v9}, Lcom/estrongs/android/icon/loader/c;->a(Ljava/lang/String;Landroid/widget/ImageView;Lcom/estrongs/fs/g;IZ)V

    goto :goto_4

    .line 25
    :cond_5
    iget-object v8, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->b:Landroid/widget/ImageView;

    invoke-static {v0, v8, v3}, Lcom/estrongs/android/icon/loader/c;->a(ILandroid/widget/ImageView;Lcom/estrongs/fs/g;)V

    .line 26
    :goto_4
    invoke-static {}, Lcom/estrongs/android/view/CompressGridViewWrapper;->O0()Ljava/util/Map;

    move-result-object v0

    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v8

    invoke-interface {v0, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/app/compress/h;

    if-eqz v0, :cond_6

    .line 27
    iget-object v8, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {v8}, Lcom/estrongs/android/view/CompressGridViewWrapper;->l(Lcom/estrongs/android/view/CompressGridViewWrapper;)Lcom/estrongs/android/pop/app/compress/h$j;

    move-result-object v8

    invoke-virtual {v0, v8}, Lcom/estrongs/android/pop/app/compress/h;->a(Lcom/estrongs/android/pop/app/compress/h$j;)V

    .line 28
    iget-object v10, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v12, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->j:Landroid/widget/ProgressBar;

    iget-object v13, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->l:Landroid/widget/TextView;

    iget-object v14, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->k:Landroid/widget/TextView;

    iget-object v15, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->m:Landroid/widget/TextView;

    iget-object v8, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    iget-object v11, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->n:Landroid/widget/TextView;

    move-object/from16 v17, v11

    move-object v11, v0

    move-object/from16 v16, v8

    invoke-static/range {v10 .. v17}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Lcom/estrongs/android/pop/app/compress/h;Landroid/widget/ProgressBar;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;Landroid/widget/TextView;)V

    .line 29
    :cond_6
    invoke-static {}, Lcom/estrongs/android/view/CompressGridViewWrapper;->N0()Ljava/util/LinkedList;

    move-result-object v8

    invoke-virtual {v8}, Ljava/util/LinkedList;->size()I

    move-result v8

    if-lez v8, :cond_7

    .line 30
    invoke-static {}, Lcom/estrongs/android/view/CompressGridViewWrapper;->N0()Ljava/util/LinkedList;

    move-result-object v8

    invoke-virtual {v8}, Ljava/util/LinkedList;->getFirst()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Lcom/estrongs/android/pop/app/compress/g;

    .line 31
    iget-object v10, v8, Lcom/estrongs/android/pop/app/compress/g;->a:Ljava/lang/String;

    invoke-static {v10}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v10

    .line 32
    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v10, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v10

    if-eqz v10, :cond_7

    .line 33
    new-instance v10, Lcom/estrongs/android/pop/app/compress/h;

    iget-object v11, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v11, v11, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-direct {v10, v11}, Lcom/estrongs/android/pop/app/compress/h;-><init>(Landroid/content/Context;)V

    .line 34
    iget-object v11, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-static {v11}, Lcom/estrongs/android/view/CompressGridViewWrapper;->l(Lcom/estrongs/android/view/CompressGridViewWrapper;)Lcom/estrongs/android/pop/app/compress/h$j;

    move-result-object v11

    invoke-virtual {v10, v11}, Lcom/estrongs/android/pop/app/compress/h;->a(Lcom/estrongs/android/pop/app/compress/h$j;)V

    .line 35
    iget-object v11, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v13, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->j:Landroid/widget/ProgressBar;

    iget-object v14, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->l:Landroid/widget/TextView;

    iget-object v15, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->k:Landroid/widget/TextView;

    iget-object v12, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->m:Landroid/widget/TextView;

    iget-object v9, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    iget-object v6, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->n:Landroid/widget/TextView;

    move-object/from16 v16, v12

    move-object v12, v10

    move-object/from16 v17, v9

    move-object/from16 v18, v6

    invoke-static/range {v11 .. v18}, Lcom/estrongs/android/view/CompressGridViewWrapper;->a(Lcom/estrongs/android/view/CompressGridViewWrapper;Lcom/estrongs/android/pop/app/compress/h;Landroid/widget/ProgressBar;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/TextView;Landroid/widget/ImageView;Landroid/widget/TextView;)V

    .line 36
    invoke-virtual {v10, v8}, Lcom/estrongs/android/pop/app/compress/h;->a(Lcom/estrongs/android/pop/app/compress/g;)V

    .line 37
    invoke-virtual {v10}, Lcom/estrongs/android/pop/app/compress/h;->a()V

    .line 38
    invoke-static {}, Lcom/estrongs/android/view/CompressGridViewWrapper;->N0()Ljava/util/LinkedList;

    move-result-object v6

    invoke-virtual {v6}, Ljava/util/LinkedList;->removeFirst()Ljava/lang/Object;

    .line 39
    :cond_7
    invoke-static {}, Lcom/estrongs/android/view/CompressGridViewWrapper;->P0()Ljava/util/Map;

    move-result-object v6

    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v8

    invoke-interface {v6, v8}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/estrongs/android/pop/app/compress/e;

    if-eqz v6, :cond_8

    .line 40
    iget-object v8, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->j:Landroid/widget/ProgressBar;

    invoke-virtual {v6, v8}, Lcom/estrongs/android/pop/app/compress/e;->a(Landroid/widget/ProgressBar;)V

    .line 41
    iget-object v8, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->l:Landroid/widget/TextView;

    invoke-virtual {v6, v8}, Lcom/estrongs/android/pop/app/compress/e;->b(Landroid/widget/TextView;)V

    .line 42
    iget-object v8, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->k:Landroid/widget/TextView;

    invoke-virtual {v6, v8}, Lcom/estrongs/android/pop/app/compress/e;->c(Landroid/widget/TextView;)V

    .line 43
    iget-object v8, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->m:Landroid/widget/TextView;

    invoke-virtual {v6, v8}, Lcom/estrongs/android/pop/app/compress/e;->d(Landroid/widget/TextView;)V

    .line 44
    iget-object v8, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    invoke-virtual {v6, v8}, Lcom/estrongs/android/pop/app/compress/e;->a(Landroid/widget/ImageView;)V

    .line 45
    iget-object v8, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->n:Landroid/widget/TextView;

    invoke-virtual {v6, v8}, Lcom/estrongs/android/pop/app/compress/e;->a(Landroid/widget/TextView;)V

    .line 46
    invoke-virtual {v6}, Lcom/estrongs/android/pop/app/compress/e;->e()Z

    move-result v8

    if-nez v8, :cond_8

    .line 47
    invoke-virtual {v6}, Lcom/estrongs/android/pop/app/compress/e;->a()V

    :cond_8
    const v8, 0x7f110425

    const v9, 0x7f08099c

    if-nez v0, :cond_9

    if-nez v6, :cond_9

    .line 48
    iget-object v10, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->j:Landroid/widget/ProgressBar;

    invoke-virtual {v10, v5}, Landroid/widget/ProgressBar;->setVisibility(I)V

    .line 49
    iget-object v10, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->l:Landroid/widget/TextView;

    invoke-virtual {v10, v7}, Landroid/widget/TextView;->setVisibility(I)V

    .line 50
    iget-object v10, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->k:Landroid/widget/TextView;

    invoke-virtual {v10, v7}, Landroid/widget/TextView;->setVisibility(I)V

    .line 51
    iget-object v10, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->m:Landroid/widget/TextView;

    invoke-virtual {v10, v5}, Landroid/widget/TextView;->setVisibility(I)V

    .line 52
    iget-object v10, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    invoke-virtual {v10, v9}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 53
    iget-object v10, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->n:Landroid/widget/TextView;

    iget-object v11, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-virtual {v11, v8}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object v11

    invoke-virtual {v10, v11}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 54
    :cond_9
    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v10

    invoke-static {v10}, Les/nl;->b(Ljava/lang/String;)Les/nl$a;

    move-result-object v10

    if-eqz v10, :cond_b

    .line 55
    iget-boolean v11, v10, Les/nl$a;->c:Z

    if-eqz v11, :cond_b

    iget-object v11, v10, Les/nl$a;->b:Ljava/lang/String;

    if-eqz v11, :cond_b

    new-instance v11, Ljava/io/File;

    iget-object v10, v10, Les/nl$a;->b:Ljava/lang/String;

    invoke-direct {v11, v10}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v11}, Ljava/io/File;->exists()Z

    move-result v10

    if-eqz v10, :cond_b

    .line 56
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    const v6, 0x7f0809b8

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 57
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->n:Landroid/widget/TextView;

    iget-object v6, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    const v8, 0x7f110424

    invoke-virtual {v6, v8}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 58
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    instance-of v6, v0, Lcom/estrongs/android/pop/esclasses/ESImageView;

    if-eqz v6, :cond_c

    .line 59
    move-object v6, v0

    check-cast v6, Lcom/estrongs/android/pop/esclasses/ESImageView;

    .line 60
    invoke-static {}, Lcom/estrongs/android/pop/utils/l;->b()Lcom/estrongs/android/pop/utils/l;

    move-result-object v0

    invoke-interface {v3}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v8

    invoke-virtual {v0, v8}, Lcom/estrongs/android/pop/utils/l;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_a

    .line 61
    invoke-virtual {v6}, Lcom/estrongs/android/pop/esclasses/ESImageView;->getLeftCornorImage()Landroid/graphics/drawable/Drawable;

    move-result-object v0

    if-nez v0, :cond_a

    .line 62
    :try_start_2
    iget-object v0, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v0, v0, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v8, 0x7f08044a

    invoke-virtual {v0, v8}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    invoke-virtual {v6, v0}, Lcom/estrongs/android/pop/esclasses/ESImageView;->setTopCornerImage(Landroid/graphics/drawable/Drawable;)V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_2

    goto :goto_5

    :catch_2
    move-exception v0

    .line 63
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_5

    :cond_a
    const/4 v8, 0x0

    .line 64
    invoke-virtual {v6, v8}, Lcom/estrongs/android/pop/esclasses/ESImageView;->setTopCornerImage(Landroid/graphics/drawable/Drawable;)V

    .line 65
    :goto_5
    invoke-virtual {v6}, Landroid/widget/ImageView;->invalidate()V

    goto :goto_6

    :cond_b
    if-nez v6, :cond_c

    if-nez v0, :cond_c

    .line 66
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->h:Landroid/widget/ImageView;

    invoke-virtual {v0, v9}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 67
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->n:Landroid/widget/TextView;

    iget-object v6, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-virtual {v6, v8}, Lcom/estrongs/android/view/h0;->c(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 68
    :cond_c
    :goto_6
    iget-object v0, v4, Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;->i:Landroid/view/View;

    new-instance v6, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;

    invoke-direct {v6, v1, v3, v4}, Lcom/estrongs/android/view/CompressGridViewWrapper$v$a;-><init>(Lcom/estrongs/android/view/CompressGridViewWrapper$v;Lcom/estrongs/fs/g;Lcom/estrongs/android/view/CompressGridViewWrapper$CompressViewHolder;)V

    invoke-virtual {v0, v6}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 69
    iget-object v0, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->d:Landroid/widget/CheckBox;

    .line 70
    iget-object v3, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-boolean v3, v3, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    if-eqz v3, :cond_d

    const/4 v3, 0x0

    goto :goto_7

    :cond_d
    const/16 v3, 0x8

    :goto_7
    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setVisibility(I)V

    .line 71
    iget-object v3, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->f:Landroid/widget/ImageView;

    if-eqz v3, :cond_f

    .line 72
    iget-object v6, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-boolean v6, v6, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    if-eqz v6, :cond_e

    const/16 v6, 0x8

    goto :goto_8

    :cond_e
    const/4 v6, 0x0

    :goto_8
    invoke-virtual {v3, v6}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 73
    :cond_f
    iget-object v3, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-boolean v3, v3, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    if-eqz v3, :cond_11

    .line 74
    invoke-virtual {v0, v7}, Landroid/widget/CheckBox;->setVisibility(I)V

    .line 75
    iget-object v3, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-virtual {v3, v2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g(I)Z

    move-result v3

    if-eqz v3, :cond_10

    const/4 v3, 0x1

    .line 76
    invoke-virtual {v0, v3}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 77
    iget-object v0, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v3

    const v5, 0x7f060324

    invoke-virtual {v3, v5}, Lcom/estrongs/android/ui/theme/b;->a(I)I

    move-result v3

    invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundColor(I)V

    goto :goto_9

    .line 78
    :cond_10
    invoke-virtual {v0, v7}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 79
    iget-object v0, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    const/4 v3, 0x0

    invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_9

    :cond_11
    const/4 v3, 0x0

    .line 80
    invoke-virtual {v0, v5}, Landroid/widget/CheckBox;->setVisibility(I)V

    .line 81
    iget-object v0, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 82
    :goto_9
    sget-boolean v0, Lcom/estrongs/android/pop/j;->u:Z

    if-nez v0, :cond_16

    iget-object v0, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-boolean v0, v0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p:Z

    if-eqz v0, :cond_16

    .line 83
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    .line 84
    iget-object v3, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    invoke-virtual {v3, v0}, Landroid/view/View;->getHitRect(Landroid/graphics/Rect;)V

    .line 85
    iget-object v3, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-virtual {v3, v2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->g(I)Z

    move-result v3

    if-eqz v3, :cond_15

    if-nez v2, :cond_13

    .line 86
    invoke-virtual {v0}, Landroid/graphics/Rect;->isEmpty()Z

    move-result v3

    if-nez v3, :cond_16

    .line 87
    iget-object v3, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v5, v3, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    .line 88
    invoke-virtual {v3, v2}, Lcom/estrongs/android/view/FileGridViewWrapper;->f(I)Ljava/lang/String;

    move-result-object v3

    invoke-interface {v5, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/android/ui/drag/b;

    if-nez v3, :cond_12

    .line 89
    new-instance v3, Lcom/estrongs/android/ui/drag/b;

    invoke-direct {v3}, Lcom/estrongs/android/ui/drag/b;-><init>()V

    .line 90
    invoke-virtual {v3, v2}, Lcom/estrongs/android/ui/drag/b;->a(I)V

    .line 91
    iget-object v5, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    check-cast v5, Lcom/estrongs/android/ui/drag/DragGrid;

    invoke-virtual {v3, v5}, Lcom/estrongs/android/ui/drag/b;->a(Lcom/estrongs/android/ui/drag/DragGrid;)V

    .line 92
    iget-object v5, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v6, v5, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    invoke-virtual {v5, v2}, Lcom/estrongs/android/view/FileGridViewWrapper;->f(I)Ljava/lang/String;

    move-result-object v5

    invoke-interface {v6, v5, v3}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 93
    :cond_12
    new-instance v5, Lcom/estrongs/android/ui/drag/b;

    invoke-direct {v5}, Lcom/estrongs/android/ui/drag/b;-><init>()V

    .line 94
    invoke-virtual {v5, v2}, Lcom/estrongs/android/ui/drag/b;->a(I)V

    .line 95
    iget-object v6, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    check-cast v6, Lcom/estrongs/android/ui/drag/DragGrid;

    invoke-virtual {v5, v6}, Lcom/estrongs/android/ui/drag/b;->a(Lcom/estrongs/android/ui/drag/DragGrid;)V

    .line 96
    iget-object v6, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    invoke-virtual {v3, v0, v5, v6}, Lcom/estrongs/android/ui/drag/b;->a(Landroid/graphics/Rect;Lcom/estrongs/android/ui/drag/b;Landroid/view/View;)V

    goto/16 :goto_a

    .line 97
    :cond_13
    iget-object v0, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v3, v0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    .line 98
    invoke-virtual {v0, v2}, Lcom/estrongs/android/view/FileGridViewWrapper;->f(I)Ljava/lang/String;

    move-result-object v0

    invoke-interface {v3, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/drag/b;

    const v3, 0x7f08012a

    if-nez v0, :cond_14

    .line 99
    new-instance v0, Lcom/estrongs/android/ui/drag/b;

    invoke-direct {v0}, Lcom/estrongs/android/ui/drag/b;-><init>()V

    .line 100
    invoke-virtual {v0, v2}, Lcom/estrongs/android/ui/drag/b;->a(I)V

    .line 101
    iget-object v5, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    check-cast v5, Lcom/estrongs/android/ui/drag/DragGrid;

    invoke-virtual {v0, v5}, Lcom/estrongs/android/ui/drag/b;->a(Lcom/estrongs/android/ui/drag/DragGrid;)V

    .line 102
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v5

    invoke-virtual {v5}, Landroid/widget/FrameLayout;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v5

    .line 103
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v6

    invoke-virtual {v6, v3}, Landroid/widget/FrameLayout;->setBackgroundResource(I)V

    .line 104
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v3

    invoke-static {v3}, Les/fy;->a(Landroid/view/View;)Landroid/graphics/Bitmap;

    move-result-object v3

    .line 105
    invoke-virtual {v0, v3}, Lcom/estrongs/android/ui/drag/b;->a(Landroid/graphics/Bitmap;)V

    .line 106
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v3

    invoke-virtual {v3, v5}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 107
    iget-object v3, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v5, v3, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    invoke-virtual {v3, v2}, Lcom/estrongs/android/view/FileGridViewWrapper;->f(I)Ljava/lang/String;

    move-result-object v3

    invoke-interface {v5, v3, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_a

    .line 108
    :cond_14
    invoke-virtual {v0, v2}, Lcom/estrongs/android/ui/drag/b;->a(I)V

    .line 109
    iget-object v5, v4, Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;->a:Landroid/view/View;

    check-cast v5, Lcom/estrongs/android/ui/drag/DragGrid;

    invoke-virtual {v0, v5}, Lcom/estrongs/android/ui/drag/b;->a(Lcom/estrongs/android/ui/drag/DragGrid;)V

    .line 110
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->a()Landroid/graphics/Bitmap;

    move-result-object v5

    if-nez v5, :cond_16

    .line 111
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v5

    invoke-virtual {v5}, Landroid/widget/FrameLayout;->getBackground()Landroid/graphics/drawable/Drawable;

    move-result-object v5

    .line 112
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v6

    invoke-virtual {v6, v3}, Landroid/widget/FrameLayout;->setBackgroundResource(I)V

    .line 113
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v3

    invoke-static {v3}, Les/fy;->a(Landroid/view/View;)Landroid/graphics/Bitmap;

    move-result-object v3

    .line 114
    invoke-virtual {v0, v3}, Lcom/estrongs/android/ui/drag/b;->a(Landroid/graphics/Bitmap;)V

    .line 115
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->d()Lcom/estrongs/android/ui/drag/DragGrid;

    move-result-object v0

    invoke-virtual {v0, v5}, Landroid/widget/FrameLayout;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    goto :goto_a

    .line 116
    :cond_15
    iget-object v0, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    iget-object v3, v0, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->r:Ljava/util/Map;

    .line 117
    invoke-virtual {v0, v2}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->e(I)Ljava/lang/Object;

    move-result-object v0

    invoke-interface {v3, v0}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/ui/drag/b;

    if-eqz v0, :cond_16

    .line 118
    invoke-virtual {v0}, Lcom/estrongs/android/ui/drag/b;->e()V

    .line 119
    :cond_16
    :goto_a
    iget-object v0, v1, Lcom/estrongs/android/view/CompressGridViewWrapper$v;->a:Lcom/estrongs/android/view/CompressGridViewWrapper;

    invoke-virtual {v0, v4, v2}, Lcom/estrongs/android/view/FileGridViewWrapper;->c(Lcom/estrongs/android/view/FeaturedGridViewWrapper$BaseViewHolder;I)V

    return-void
.end method
